import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { DataAnalysisComponent } from './data-analysis.component';
import { WindResourceComponent } from './wind-resource/wind-resource.component';
import { FarmPlantpowerComponent } from './farm-plantpower/farm-plantpower.component';
import { FarmOverhaulComponent } from './farm-overhaul/farm-overhaul.component';
import { CompanyOverhaulComponent } from './company-overhaul/company-overhaul.component';
import { DiseaseOperationComponent } from './disease-operation/disease-operation.component';
import { WindPowerForecastComponent } from './wind-power-forecast/wind-power-forecast.component';
import { PowerForecastDeviationComponent } from './power-forecast-deviation/power-forecast-deviation.component';
import { LossElectricityComponent } from './loss-electricity/loss-electricity.component';
import { QuotaRankComponent } from './quota-rank/quota-rank.component';
import { TurbineOperationComponent } from './turbine-operation/turbine-operation.component';
import { ListedQueryComponent } from './listed-query/listed-query.component'
import { PredictivePowerComponent } from './predictive-power/predictive-power.component';
import { InstalledCapacityRatioComponent } from "./installed-capacity-ratio/installed-capacity-ratio.component";
import { RPowerComponent } from './r-power/r-power.component';

const routes: Routes = [
  {
    path: '', component: DataAnalysisComponent, children:
      [
        { path: 'windresource', component: WindResourceComponent },
        { path: 'farmoverhaul', component: FarmOverhaulComponent },
        { path: 'companyoverhaul', component: CompanyOverhaulComponent },
        { path: 'disease', component: DiseaseOperationComponent },
        { path: 'farmplantpower', component: FarmPlantpowerComponent },
        { path: 'windpowerforecast', component: WindPowerForecastComponent },
        { path: 'powerforecastdeviation', component: PowerForecastDeviationComponent },
        { path: 'losselectricity', component: LossElectricityComponent },
        { path: 'quotarank', component: QuotaRankComponent },
        { path: 'turboperat', component: TurbineOperationComponent },
        { path: 'listedquery', component: ListedQueryComponent },
        { path: 'predictivepower', component: PredictivePowerComponent },
        { path: 'installedcapacityratio', component: InstalledCapacityRatioComponent },
        {
          path: 'rpower', component:  RPowerComponent
        }

      ]
  },

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DataAnalysisRoutingModule { }



// WEBPACK FOOTER //
// ./src/app/module/data-analysis/data-analysis-routing.module.ts